﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TianShiProject.Models.CarService.Tyres
{
    public class TyreDto
    {
        public int Id { get; set; }
        /// <summary>
        /// 编号
        /// </summary>
        public string TyreNumber { get; set; }
        /// <summary>
        /// 轮胎品牌
        /// </summary>
        public string TyreBrand { get; set; }
        /// <summary>
        /// 车牌号
        /// </summary>
        public string CarNumber { get; set; }
        /// <summary>
        /// 规格
        /// </summary>
        public string Specification { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int Num { get; set; }
        /// <summary>
        /// 使用人
        /// </summary>
        public string UsePerson { get; set; }

        /// <summary>
        /// 使用日期
        /// </summary>
        public DateTime UseTime { get; set; }
        public string UseTimes { get { return UseTime.ToString("yyyy-MM-dd"); } }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        public string CreateTimes { get { return CreateTime.ToString("yyyy-MM-dd"); } }
        /// <summary>
        /// 是否删除
        /// </summary>
        public int IsDelete { get; set; }
        /// <summary>
        /// 车牌号
        /// </summary>
        public string License { get; set; }
    }
}
